package com.framework.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.framework.dao.AoUserDao;
import com.framework.entity.AoUserEntity;
import com.framework.service.AoUserService;



@Service("aoUserService")
public class AoUserServiceImpl implements AoUserService {
	@Autowired
	private AoUserDao aoUserDao;
	
	@Override
	public AoUserEntity queryObject(Integer id){
		return aoUserDao.queryObject(id);
	}
	
	@Override
	public List<AoUserEntity> queryList(Map<String, Object> map){
		return aoUserDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return aoUserDao.queryTotal(map);
	}
	
	@Override
	public void save(AoUserEntity aoUser){
		aoUserDao.save(aoUser);
	}
	
	@Override
	public void update(AoUserEntity aoUser){
		aoUserDao.update(aoUser);
	}
	
	@Override
	public void delete(Integer id){
		aoUserDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		aoUserDao.deleteBatch(ids);
	}
	
	
}
